package com.jmp.autocofiguration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cjr
 */
@Data
@ConfigurationProperties(prefix = "one.task")
public class TaskProperties {
    private boolean enable;
    private int corePoolSize;
    private int maxPoolSize;
    private String namePrefix;
    private int queueCapacity;
    private int keepAliveSeconds;
}
